/*/////////////////////////////////////////////////////////////////////////
//                                                                       //
//   iReader! (c) 2010 Samabox. All rights reserved.                     //
//                                                                       //
/////////////////////////////////////////////////////////////////////////*/

body {
	?padding: 0 18%;
	margin: 0px;
	cursor: default;
	background-color: #fefdff;
	?-webkit-user-select: none;
	
	direction: rtl;
	text-align: right;
	direction: ltr;
	text-align: left;
}

body, td, input, select, textarea, button {
	color: hsl(290, 15%, 40%);
	font: menu;
	?font-family: Verdana, sans-serif;
	font-size: 9pt;
}

hr {
	height: 0px;
	border: 0;
	border-top: solid 1px #cccecf;
	margin: 15px 0;
}

small {
	font-size: 7.5pt;
	font-weight: 500;
}

.ltr, .ltr * {
	direction: ltr !important;
	text-align: left !important;
}

.link {
	text-decoration: none;
}

.link:hover {
	text-decoration: underline;
}

.button {
	?width: 120px;
	min-width: 120px;
	color: #543;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	padding: 7px;
	margin: 0px;
	border: solid 1px #a9b;
	border-radius: 2px;
	?border-radius: 15px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0f5fc), color-stop(1, #e0e9f4));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.4, hsl(280, 10%, 96%)), color-stop(0.41, hsl(280, 10%, 92%)));
	-webkit-box-shadow: 0px 1px 2px #d2d4d5;
}

.button.bold {
	font-weight: bold;
}

.button.disabled, .button.disabled:hover {
	background: #f0f2f3;
}

.button:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f6fafe), color-stop(1, #e3ebf7));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff),  color-stop(0.4, hsl(280, 67%, 92%)), color-stop(0.41, hsl(275, 48%, 88%)));
}

.button:active {
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(275, 68%, 88%)), color-stop(1, hsl(280, 87%, 92%)));
}

.button img {
	vertical-align: text-bottom;;
}

.throbber {
	display: inline-block;
	vertical-align: middle;
	background-image: url(../images/throbber.png);
	background-position: 0px;
	width: 16px;
	height: 16px;
	margin: 0px 10px 0px 10px;
}

#optionsContainer {
	width: 800px;
	left: 50%;
	position: relative;
	margin-left: -400px;
}

#optionsTable {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 20px 0px;
}

#optionsTable td {
	padding: 0px;
}

#header {
	font-size: 18pt;
	?font-weight: bold;
	min-height: 40px;
	text-shadow: #ccc 1px 1px 3px;
	border: solid 1px #bac;
	border-radius: 6px;
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 12px;
	background-color: #eaeeff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f4f9ff), color-stop(1, #e5ecf9));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.48, hsl(217, 73%, 97%)), color-stop(0.51, hsl(217, 62%, 95%)));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.08, hsl(216, 56%, 99%)), color-stop(0.41, hsl(216, 56%, 96%)), 
		color-stop(0.45, hsl(216, 56%, 94%)), color-stop(0.95, hsl(216, 56%, 94%)), color-stop(1, hsl(216, 46%, 90%)));
	background: /*url("../images/logo.png") 68 center no-repeat,*/
		-webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.08, hsl(280, 46%, 98%)), color-stop(0.41, hsl(280, 46%, 96%)), 
		color-stop(0.45, hsl(280, 46%, 96%)), color-stop(0.95, hsl(280, 46%, 94%)), color-stop(1, hsl(280, 36%, 90%)));
	-webkit-box-shadow: 0px 1px 2px #ddd;
}

#header img {
	vertical-align: middle;
	margin-top: -10px;
	margin-right: -10px;
	float: right;
}

#header * {
	font-size: 22pt;
	text-shadow: hsl(280, 46%, 98%) 1px 1px 1px;
	color: hsl(290, 15%, 55%);
}

#header .close {
	padding: 15px;
	cursor: pointer;
}

#tip {
	visibility: visible;
	?float: right;
	padding: 4px 12px 4px 8px;
	margin-right: 10px;
	font-size: 9pt !important;
	-webkit-padding-end: 0px;
	?background-color: #f8fbf8;
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #eaedea), color-stop(0.01, #fafdfa), color-stop(0.99, #fafdfa), color-stop(1, #fff));
	?border-top: solid 1px #e5e9e4;
	?border-bottom: solid 1px #fff;
	border-left: solid 1px #e9ede9;
	border-radius: 5px;
	?max-width: 300px;
	white-space: normal;
	text-align: end;
	background: /*url(/assets/images/light.png) right center no-repeat,*/
		-webkit-gradient(linear, left top, left bottom, 
			color-stop(0, #e9ede9), color-stop(0.01, #fbfef1), color-stop(0.99, #fbfef1), color-stop(1, #fff));
}

#tip.disabled {
	visibility: hidden;
}

.tipImage {
	float: right;
	margin: 0px !important;
	margin-right: 4px !important;
	cursor: pointer;
	width: 16px;
	height: 16px;
	background: url(../images/light-on.png);
}

.tipImage.disabled {
	opacity: 0;
	background: url(../images/light-off.png);
}

#header:hover .tipImage.disabled {
	opacity: 0.7;
}

#tip * {
	text-align: center;
	font-size: 9pt !important;
	text-shadow: none !important;
	?text-shadow: #fff 0px 1px 3px !important;
	font-style: italic;
	?opacity: 0.7;
	color: #778;
}

#copyright {
	text-align: center;
	opacity: 0.5;
}

#tabsRow td {
	?border: solid 1px #d1dbdf;
	?border-radius: 6px 6px 0px 0px;
	?background-color: #f8fafd;
	?border-bottom: solid 1px #d1dbdf;
}

#tabsContainer {
	border-bottom: solid 1px #abc;
	background-color: #fafbff;
	?margin-bottom: -4px;
}

#tabsContainer div {
	?width: 125px;
	vertical-align: bottom;
	font-size: 9pt;
	font-weight: bold;
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(197, 54%, 97%)), color-stop(1, hsl(207, 43%, 96%)));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0.4, #fff), color-stop(0.41, hsl(207, 0%, 98%)));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 66%, 100%)), color-stop(0.1, hsl(216, 56%, 98%)), color-stop(1, hsl(216, 56%, 98%)));
	border: solid 1px #abc;
	border-radius: 3px 3px 0px 0px;
	margin-bottom: -1px;
	display: inline-block;
	text-align: center;
	padding-top: 6px;
	padding-bottom: 7px;
	padding-left: 8px;
	padding-right: 8px;
	color: #7e90ad;
	color: hsl(216, 20%, 50%);
	cursor: pointer;
	opacity: 0.8;
	-webkit-transition: opacity 0.5s, -webkit-box-shadow 0.3s;
	-webkit-margin-start: 2px;
}

#tabsContainer div:first-child {
	-webkit-margin-start: 0px;
}

#tabsContainer div.selected {
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(195, 80%, 99%)), color-stop(1, hsl(216, 56%, 98%)));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 66%, 100%)), color-stop(0.1, hsl(216, 56%, 97%)), color-stop(1, hsl(216, 46%, 93%)));
	?border-bottom: solid 1px #eaeff3;
	border-bottom: solid 1px hsl(216, 46%, 93%);
	?color: #5e708d;
	color: hsl(216, 30%, 50%);
	-webkit-box-shadow: 0px 0px 1px #ddd;
	-webkit-transition: opacity 0.5s, -webkit-box-shadow 0.3s;
	opacity: 1;
}

#tabsContainer div.normal:hover {
	background: none;
	background-color: hsl(197, 54%, 97%);
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0.4, #fff), color-stop(0.41, hsl(216, 60%, 98%)));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 66%, 100%)), color-stop(0.1, hsl(216, 56%, 99%)), color-stop(1, hsl(216, 56%, 99%)));
}

#tabsContainer div label {
	cursor: pointer;
}

#tabProfilesBody, #tabNetworkBody, #tabGeneralBody, #tabImportExportBody, #tabRulesBody {
	?display: none;
}

.cover {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 100;	
}

#body {
	?height: 100%;
	min-width: 550px;
	padding: 15px;
	?padding-left: 23px;
	-webkit-box-shadow: 0px 1px 2px #ddd;
	border: solid 1px #bac;
	?border-top: none;
	border-bottom: solid 1px #cbd;
	border-radius: 6px 6px 0px 0px;
	background-color: hsl(50, 56%, 98%);
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 56%, 98%)), color-stop(0.75, hsl(216, 56%, 97%)), color-stop(1, hsl(216, 56%, 96%)));
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #f2f9fb), color-stop(1, #eaf0f2));
	background-color: hsl(280, 46%, 95%);
}

#control {
	?margin-top: 10px;
	padding: 15px;
	?padding-left: 23px;
	-webkit-box-shadow: 0px 1px 2px #ddd;
	border: solid 1px #bac;
	border-top: none;
	border-radius: 0px 0px 6px 6px;
	background-color: hsl(216, 56%, 98%);
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 56%, 98%)), color-stop(0.75, hsl(216, 56%, 97%)), color-stop(1, hsl(216, 56%, 96%)));
	background-color: hsl(216, 46%, 93%);
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(280, 46%, 99%)), color-stop(0.01, hsl(280, 46%, 94%)), 
		color-stop(0.95, hsl(280, 46%, 92%)), color-stop(1, hsl(280, 46%, 88%)));
}

#body .title {
	font-weight: bold;
	margin-bottom: 2px;
	?margin-left: -8px;
	?text-shadow: #eee 1px 1px 2px;
}

#body .control {
	text-align: right;
}

#body .spacer, #body .spacer25 {
	height: 25px;
}

#body .spacer20 {
	height: 20px;
}

#body .spacer10 {
	height: 10px;
}

#body .spacer5 {
	height: 5px;
}

#proxyTable {
	border-spacing: 0px;
	border-collapse: collapse;
}

#proxyTable th, #proxyTable td {
	padding: 0px;
}

#proxyTable th div, .tab .title {
	text-align: start;
	padding: 5px 0px 8px 0px;
	margin-bottom: 0px;
	font-size: 9pt;
	font-weight: bold;
}

#proxyTable td {
	vertical-align: top;
}

#proxyProfiles, .rulesTable {
	width: 100%;
	height: 100%;
	border: solid 1px #cac1cd;
	border-spacing: 0px;
	?border-radius: 0px 0px 8px 8px;
	margin-bottom: 10px;
	?padding: 1px;
	table-layout: fixed;
	-webkit-box-shadow: 0px 1px 2px #ddd;
}

#proxyProfiles th, #proxyProfiles td, .rulesTable th, .rulesTable td {
	text-align: start;
}

#proxyProfiles th, .rulesTable th {
	height: 28px;
	padding: 0px 8px;
	font-size: 9pt;
	font-weight: normal;
	border: solid 0px #e4d2e9;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f2f7fe), color-stop(1, #e1eaf6));
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.48, hsl(217, 73%, 96%)), color-stop(0.51, hsl(217, 62%, 94%)));
}

#proxyProfiles td {
	height: 28px;
	border-bottom: solid 1px #e8e4ea;
	overflow: hidden;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fafbff;
	background-color: hsl(216, 56%, 99%);
	?background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f8fbfe), color-stop(1, #eef3fd));
}

#proxyProfiles td:first-child {
	padding: 0px 8px;
	white-space: nowrap;
	border-left: solid 4px hsl(213, 60%, 95%);
}

#proxyProfiles td:last-child {
	text-align: center;
}

#proxyProfiles tr:last-child td {
	border-bottom: none;
}

#proxyProfiles .selected td {
	?height: 30px;
	?border-top: solid 1px #cde;
	?border-bottom: solid 1px #cde;
	font-size: 9pt;
	?font-weight: bold;
	background-color: #d5e5f3;
	background-color: #e0e9ea;
	background-color: #dae4ff !important;
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(217, 62%, 95%)), color-stop(0.4, hsl(217, 62%, 94%)), 
		color-stop(0.5, hsl(217, 62%, 91%)), color-stop(1, hsl(217, 62%, 92%))) !important;
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(210, 100%, 94%)), color-stop(0.4, hsl(217, 100%, 93%)), 
		color-stop(0.5, hsl(217, 100%, 90%)), color-stop(1, hsl(210, 100%, 91%))) !important;
}

#proxyProfiles .selected td * {
	opacity: 1 !important;
}

#proxyProfiles .selected td:first-child {
	border-left: solid 4px hsl(210, 53%, 85%);
	padding: 0px 9px;
}

#proxyProfiles tr:hover td:nth-child(n+2) * {
	opacity: 0.7;
}

#proxyProfiles td:nth-child(n+2) * {
	opacity: 0;
}

#proxyProfiles td:nth-child(n+3) * {
	opacity: 0.2;
}

#proxyProfiles tr:nth-child(even) td {
	background-color: #f8fafc;
	background-color: hsl(216, 46%, 97%);
}

.rulesTable {
	border-spacing: 0px;
	-webkit-box-shadow: 0px 0px 2px #ddd;
}

.rulesTable th {
	border-left: solid 1px #e2e7e9;
	border-bottom: solid 1px #dad7dd;
	font-weight: bold;
	color: hsl(270, 70%, 30%);
	white-space: nowrap;
	overflow: hidden;
	-webkit-user-select: none;
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #fff), color-stop(0.48, hsl(275, 53%, 96%)), color-stop(0.51, hsl(275, 42%, 94%)));
}

.rulesTable td {
	height: 29px;
	border-top: solid 1px #e8e4ea;
	border-left: solid 1px #e8e4ea;
	background-color: hsl(280, 56%, 99%);
	overflow: hidden;
	padding: 1px;
	?white-space: nowrap;
}

.rulesTable td:first-child, .rulesTable th:first-child {
	?border-left: none;
}

.rulesTable tr:nth-child(odd) td {
	background-color: hsl(280, 46%, 97%);
}

.rulesTable .defaultRow td {
	background-color: hsl(280, 46%, 97%) !important;
}

#rulesTable tr:hover td:nth-child(5) * {
	?opacity: 1;
}

#rulesTable td:nth-child(5) * {
	?opacity: 0.3;
}

#proxyProfiles tr:hover td {
	background-color: hsl(216, 60%, 94%);
	?background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f8fbfe), color-stop(1, #f2f7fe));
}

#proxyProfiles td input, .rulesTable td input {
	width: 100% !important;
	min-height: 24px;
	height: 100%;
	padding: 0px 3px;
	display: none;
}

.rulesTable td select {
	display: block;
	?border: solid 1px #f9fbfe;
	border: solid 1px #bcbebf;
	?background-color: #f9fbfe;
	width: 100% !important;
	min-height: 22px;
	height: 24px !important;
	margin: 0px 2px 0px 0px;
}

?#rulesTable td select:hover {
	background-color: #fff;
	border: solid 1px #ccddee;
}

.rulesTable td input[type='radio'] {
	display: inline-block;
	width: auto;
}

.rulesTable td input {
	?display: block;
	font-size: 9pt;
	z-index: 30;
}

.rulesTable td .tag {
	?display: inline;
	position: relative;
	z-index: 100;
	float: right;
	font-size: 8pt;
	background-color: #8ac;
	color: #fff;
	padding: 2px;
	margin-right: 4px;
	?border: solid 1px #d1dbdf;
	border-radius: 3px;
}

#ruleListsTable input {
	display: block;
}

#proxyProfiles td span, .rulesTable td span {
	-webkit-padding-start: 6px;
}

#proxyProfiles td img, .rulesTable td img {
	cursor: pointer;
}

#proxyProfiles .color {
	height: 100%;
	padding: 6px;
}

#proxyProfiles .color div {
	cursor: pointer;
	height: 100%;
}

#proxyProfiles .blue {
	background-color: #9ce;
	outline: solid 1px #7ac;
}

#proxyProfiles .green {
	background-color: #9d9;
	outline: solid 1px #7b7;
}

#proxyProfiles .red {
	background-color: #fa8;
	outline: solid 1px #d86;
}

#proxyProfiles .yellow {
	background-color: #fe9;
	outline: solid 1px #dc7;
}

#proxyProfiles .purple {
	background-color: #d497ee;
	outline: 1px solid #b477ce;
}

.cblue {
	color: #36a;
}

.cgreen {
	color: #3a3;
}

.cred {
	color: #c52;
}

.cyellow {
	color: #b90;
}

.cpurple {
	color: #a3b;
}

.cdefault {
	color: hsl(50, 30%, 30%);
}

#proxyProfiles .delete, .rulesTable .delete {
	background: url("../images/delete.png") center no-repeat;
	cursor: pointer;
	height: 100%;
}

#proxyProfiles .templateRow, .rulesTable .templateRow {
	display: none;
}

#proxyProfiles .unknown td {
	background-color: #fcf8f1 !important;
	cursor: default;
	color: hsl(216, 30%, 50%);
	font-style: italic;
}

#proxyProfiles .unknown td:nth-child(2) * {
	display: none;
}

#proxyProfiles .unknown .delete {
	display: none;
}

#profileDetails, #tabNetworkBody table, #tabGeneralBody table, .optionGroup {
	width: 100%;
	?height: 100%;
	border: solid 1px #cac1cd;
	border-spacing: 8px;
	border-radius: 0px 0px 4px 4px;
	empty-cells: show;
	padding: 6px;
	background-color: #eaf0f2;
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, #f2f9fb), color-stop(1, #eaf0f2));
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 56%, 98%)), color-stop(0.75, hsl(216, 56%, 97%)), color-stop(1, hsl(216, 56%, 96%)));
	background-color: hsl(275, 66%, 97%);
	-webkit-box-shadow: 0px 1px 2px #ddd;
}

.optionGroupHeader {
	?height: 100%;
	border: solid 1px #cac1cd;
	border-spacing: 8px;
	border-radius: 4px 4px 0px 0px;
	empty-cells: show;
	padding: 7px 9px !important;
	background-color: #f4f8fa;
	margin: 0px 0px -1px 0px !important;
	?text-shadow: #d5dae0 0px -1px 1px;
	-webkit-box-shadow: 0px 1px 1px #ddd;
	?color: #fff;
	?color: hsl(270, 40%, 30%);
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 36%, 78%)), color-stop(0.05, hsl(216, 26%, 68%)), 
		color-stop(0.9, hsl(216, 26%, 58%)), color-stop(1, hsl(216, 06%, 48%)));
	?background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(216, 76%, 100%)), color-stop(0.75, hsl(216, 76%, 99%)), color-stop(1, hsl(216, 76%, 98%)));
	background-color: hsl(270, 80%, 99%);
}

#profileDetails td {
	vertical-align: middle;
	white-space: nowrap;
}

#profileDetails td:first-child {
	?width: 1px;
}

#profileDetails td:nth-child(2) {
	width: 100%;
}

#profileDetails td:nth-child(4) {
	width: 100px;
	white-space: normal;
}

input[type="text"] {
	width: 100%;
	border: solid 1px #bcbebf;
	padding: 4px;
	-webkit-box-shadow: 0px 1px 1px #ddd;
}

select {
	?width: 100%;
	border: solid 1px #bcbebf;
	padding: 1px;
}

input[type="radio"], input[type="checkbox"] {
	height: 15px;
}

#profileDetails input, .tab input {
	margin: 0;
	vertical-align: text-bottom;
	?font-size: 10pt;
}

input[disabled] {
	background-color: #f0f2f3;
}

#profileDetails hr {
	margin: 6px 0;
}

#profileDetails .disabled, .tab .disabled, .tab .disabled * {
	color: #aaa;
	opacity: 0.95;
}

.tab .hidden {
	display: none;
}

#profileDetails .indent td:first-child, .tab .indent td:first-child {
	-webkit-padding-start: 22px !important;
}

.tab div.indent {
	-webkit-padding-start: 16px;
	padding-bottom: 8px;
}

#profileDetails .section td {
	padding: 8px 0px 1px 0px;
}

#profileDetails #sectionModeManual td {
	padding-top: 0px !important;
}

#profileDetails .section label, .tab .section label {
	padding: 10px 0px;
}

#rulesTable td, #tabRulesBody td, #tabGeneralBody td, #tabImportExportBody td, .optionGroup td {
	white-space: nowrap;
	padding: 2px;
}

#tabRulesBody select, #tabNetworkBody select, #tabGeneralBody select, #tabImportExportBody select {
	width: 200px;
	height: 140%;
}

#tabRulesBody input[type="text"] {
	width: 200px;
}

#tabRulesBody input[type="range"] {
	vertical-align: middle;
}

#rulesTable td:nth-child(1), #tabRulesBody td:nth-child(1), #tabGeneralBody td:nth-child(1), #tabImportExportBody td:nth-child(1), .optionGroup td:nth-child(1) {
	text-align: right;
	width: 30%;
}

#rulesTable td:nth-child(2), #tabRulesBody td:nth-child(2), #tabGeneralBody td:nth-child(2), #tabImportExportBody td:nth-child(2), .optionGroup td:nth-child(2) {
	width: 100%;
}

#tabImportExportBody input[type='text'] {
	width: 100%;
	height: 85%;
	padding: 0px 3px;
} 

#tabImportExportBody input[type='text'].initial {
	color: #888;
	font-style: italic;
} 

#ruleListTable {
	?table-layout: fixed;
}

#ruleListTable td:nth-child(2) {
	width: 70%;
}

#ruleListTable td:nth-child(5) {
	width: 30%;
}

#ruleListTable td:nth-child(3) {
	width: 0%;
}

#ruleListTable select {
	height: 22px;
}

#ruleListTable input, #ruleListTable select {
	width: 100%;
}

#proxyList {
	width: 100%;
	margin-top: -5px;
	border-spacing: 0;
	border-collapse: collapse;
}

#proxyList td:first-child {
	white-space: nowrap;
	padding-right: 10px;
}

#proxyList td:nth-child(2) {
	width: 100%;
}

#proxyList input {
	margin: 0;
}

#txtProxyListURL {
	width: 100%;
}

#overlay {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0, 0, 0, 0.5);
	?opacity: 0.5;
}

#dialog {
	position: relative;
	z-index: 100;
	width: 50%;
	left: 25%;
	top: 25%;
	?border: solid 1px #cac1cd;
	border-spacing: 8px;
	border-radius: 5px;
	padding: 16px;
	background-color: hsl(275, 66%, 97%);
	background: -webkit-gradient(linear, left top, left bottom, 
		color-stop(0, hsl(275, 56%, 98%)), color-stop(0.75, hsl(275, 56%, 97%)), color-stop(1, hsl(275, 56%, 96%)));
	-webkit-box-shadow: 0px 0px 12px #333;
}

#preview {
	padding-left: 14px;
	height: 100%;
}

#preview .body {
	background-color: #fff;
}

#preview .background {
	display: inline-block;
	position: absolute;
	width: 280px;
	height: 280px;
	overflow: hidden;
	margin: 0px 10px;
	line-height: 20px;
	color: #000;
	z-index: 0;
}

#preview table {
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 0px;
	table-layout: fixed;
}

#preview table td {
	?padding: 35px;
}

#preview .page {
	position: relative;
	width: 224px;
	left: 50%;
	margin-left: 0px;
	height: 260px;
	font-size: 1.1em;
	white-space: normal;
	background-color: #fdfdfd;
	text-align: left;
	padding: 0px;
	line-height: 20px;
	overflow: hidden;
	border: 1px solid #C3C3C3;
	-webkit-user-select: auto;
	-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
	z-index: 1;
}

#preview .page div {
	margin: 15px 20px;
}

#preview .page h4 {
	margin: 0px;
}

#version {
	color: #eee;
	?text-shadow: hsl(280, 46%, 98%) 1px 1px 1px;
	?font-size: 120%;
	?font-weight: bold;
	?letter-spacing: 0.2em;
	padding: 1px 5px;
	border-radius: 10px;
	background-color: hsl(280, 10%, 50%);
	-webkit-box-shadow: hsl(280, 46%, 98%) 0px 1px 3px;
}
